package com.xuyoupeng.springlearn.bean.event;

import com.xuyoupeng.springframework.context.ApplicationListener;
import com.xuyoupeng.springframework.context.event.ContextClosedEvent;

/**
 * @author xuyoupneg
 * @description TODO
 * @date 2024/3/30 18:13
 */
public class CustomEventCloseListener implements ApplicationListener<ContextClosedEvent> {
    @Override
    public void onApplicationEvent(ContextClosedEvent event) {
        System.out.println("容器关闭事件监听");
    }
}
